set(file
    img_upgrade.c
    chk.c
    crc.c
    img_upgrade.c
)

add_executable(img_upgrade ${file})
target_include_directories(img_upgrade PUBLIC ar8030)
target_link_libraries(img_upgrade PUBLIC ar8030_client)

INSTALL(TARGETS img_upgrade
    RUNTIME DESTINATION bin
)
